package cn.edu.cug.bean;

import cn.edu.cug.utils.DBConnector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by xhhuang on 2017/11/9.
 */
public class DBBean {
  private static final Logger LOG = LoggerFactory.getLogger(DBBean.class);

  private String dbDriver; // 使用的驱动
  private String dbUrl; // 数据库连接地址
  private String dbUserName; // 数据库的用户名
  private String dbPasswd; // 数据库的密码
  private String dataBase;// 要选用的数据库名称

  public String getDbDriver() {
    return dbDriver;
  }

  public void setDbDriver(String dbDriver) {
    this.dbDriver = dbDriver;
  }

  public String getDbUrl() {
    return dbUrl;
  }

  public void setDbUrl(String dbUrl) {
    this.dbUrl = dbUrl;
  }

  public String getDbUserName() {
    return dbUserName;
  }

  public void setDbUserName(String dbUserName) {
    this.dbUserName = dbUserName;
  }

  public String getDbPasswd() {
    return dbPasswd;
  }

  public void setDbPasswd(String dbPasswd) {
    this.dbPasswd = dbPasswd;
  }

  public String getDataBase() {
    return dataBase;
  }

  public void setDataBase(String dataBase) {
    this.dataBase = dataBase;
  }
}
